<!DOCTYPE html>
<html>
<head>
	<script type="text/javascript" src='./dist/jquery-3.2.1.js'></script>
	<title></title>
</head>
<style type="text/css">

	*{
		margin:0;
		padding:0;
		font-family: 微软雅黑;
		font-size:14px;
	}
.top{
	height:90px;
	overflow:hidden;
}
.top img{
	margin-left:-250px;
}
.nav{
	height:15px;
}
.menu{
	height:470px;
	background:url('power.jpg') -300px;

}
.div1{
	height:40px;
	overflow:hidden;
	background:#900;
	color:#fff;
}
.div1 ul{
	width:1200px;
	list-style:none;
	margin:0 auto;
}
.div1 ul li{
	float:left;
	line-height:40px;
	margin-left:30px;
	cursor:pointer;
}
.div1 .banner{
	margin-left:0px!important;
	background:#ce171f;
	width:150px;
	text-align:center;
}
.div2{
	position:relative;
	width:1200px;
	height:470px;
	margin:0 auto;	
	overflow:hidden;
}
.div3{
	width:150px;
	height:470px;
	background:#b61d1d;

}	
.div3 ul{
	list-style:none;
}
.div3 ul li{
padding-left:15px;
line-height:30px;
}
.div3 ul li{
color:#fff;	
}
.div3 ul li:hover{
	cursor:pointer;
}
.right{
width:1020px;
height:440px;
background:#eee;
position:absolute;
top:0px;
left:150px;
padding:15px;
color:#000;
display:none;
}
.right:first-child{
	display:block;
}

</style>
<body>
<div class="top">
	<img src="top.jpg" height='90px'>
</div>

<div class="nav"></div>
	<div class="div1">
			<ul>
				<li class='banner'>全部商品分类</li>
				<li>首页</li>
				<li>领券中心</li>
				<li>值得买</li>
				<li>葡萄酒馆</li>
				<li>洋酒馆</li>
				<li>老酒</li>
				<li>清仓</li>
				<li>新品</li>
				<li>CLUB会员</li>
			</ul>
		</div>


<div class="menu">
	<div class="div2">
		<div class="div3">
			<ul>
				<li>
					<span>家用电器</span>
					<div class="right">
						<h3>家用电器</h3>
						<p>家用电器pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>
				</li>
				<li>
					<span>手机/运营商/数码</span>
					<div class="right">
						<h3>手机/运营商/数码</h3>
						<p>手机/运营商/数码pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>
				</li>
				<li>
					<span>办公/电脑</span>
					<div class="right">
						<h3>办公/电脑</h3>
						<p>办公/电脑pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>
				</li>
				<li>
					<span>家居/家具/家装/厨具</span>
					<div class="right">
						<h3>家居/家具/家装/厨具</h3>
						<p>办公/电脑pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>				
						<span>办公/电脑</span>
					<div class="right">
						<h3>办公/电脑</h3>
						<p>办公/电脑pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>			
				</li>
				<li>
					<span>美妆个护/宠物</span>
					<div class="right">
						<h3>美妆个护/宠物</h3>
						<p>美妆个护/宠物pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>	
				</li>
				<li>
					<span>女鞋/箱包/钟表</span>
					<div class="right">
						<h3>女鞋/箱包/钟表</h3>
						<p>女鞋/箱包/钟表pe had traversed all the waters of the Baie de Chaleur, and the enterprising voyageurs on board had met with many adventures by sea and land; and at length all these were exhausted, and, as the time drew near for their departure</p>
					</div>
				</li>
				<li>男鞋/珠宝</li>
				<li>房产/汽车/汽车用品</li>
				<li>母婴/玩具乐器</li>
			    <li>食品/酒类/生鲜/特产</li>
				<li>童装/女装/男装/内衣</li>
				<li>艺术/礼品鲜花/农资绿化</li>
				<li>医药保健/计生情趣</li>
				<li>图书/音像/电子书</li>
				<li>机票/酒店/旅游/生活</li>
				<li>理财/众筹/白条/保险</li>
			</ul>
		</div>
	</div>
</div>	
</body>
<script type="text/javascript">


		$('.div3 li').mouseenter(function(){
// x=$(this).position().left+150;
// y=$(this).position().top;

		$(this).css({'background':'#eee'});
		$(this).find('span').css({'color':'#b61d1d'});
		$('.div3 li').not($(this)).css({'background':'#b61d1d'});

		// $(this).find('.right').css({'top':y+'px','left':x+'px'}).show();
		$(this).find('.right').show();
		$('.right').not($(this).find('.right')).hide();
	});

	$('.div3 li').mouseleave(function(){
$(this).find('.right').hide();
$(this).find('span').css({'color':'#fff'});
$(this).css({'background':'#b61d1d'});

	});

</script>
</html>